package com.p2p.front.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import com.p2p.base.annotation.LoginNeedless;
import com.p2p.base.web.controller.BaseController;

/**
 * leiwen@yiqihao.com
 */

@Controller
@LoginNeedless
public class AboutPlanController extends BaseController {

	@RequestMapping("/about/{pagename}.html")
	public String aboutPlan(ModelMap modelMap,@PathVariable("pagename") String pagename ) {
		return "/about/"+pagename;
	}
	
	@RequestMapping("/abouts/{pagename}.html")
	public String aboutsPlan(ModelMap modelMap,@PathVariable("pagename") String pagename ) {
		return "/about/"+pagename;
	}
}
